package com.zhongkun.datahome.common.enums;

import lombok.Getter;
import org.apache.commons.lang3.StringUtils;

/**
 * @Author: lifengsheng
 * @Date: 2025/5/9 17:55
 * @Desc
 */
@Getter
public enum DataSettingLinkTypeEnum {
    SIGN_FILE("sign_file", "签字材料"),
    MATERIAL_LIST("material_list", "材料清单"),
    OTHER("other", "其他自定义"),
    ;

    private String type;
    private String desc;

    DataSettingLinkTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public boolean is(String type) {
        return StringUtils.equals(this.type, type);
    }
}
